#ifndef _KC_CONNREQUESTHANDLER_H__KC_
#define _KC_CONNREQUESTHANDLER_H__KC_

#include "Connection.h"

namespace kc_sf
{
	class CommRequestHandler : public boost::noncopyable
	{
		public:

			CommRequestHandler() {}

			explicit CommRequestHandler( const Connection &connection )
			: r_connection( connection )
			{
			}

			virtual ~CommRequestHandler() {}

			virtual CommRequestHandler * getInstance( const Connection &connection ) const = 0;
			virtual void operator()() = 0;

		protected:

			Connection r_connection; // informacje o polaczeniu
	};
}

#endif // _KC_CONNREQUESTHANDLER_H__KC_
